package com.matpala.practico1.a;

public class Generador {
	
	// Xn+1 = (aXn+c) mod m
	
	private int x;	//semilla
	private int a;	//multiplicador
	//private int c = 0;	//constante suma
	private int mod;	//modulo
	
	public Generador(int a, int x, int mod) {
		this.a = a;
		this.x = x;
		this.mod = mod;
	}
	public int generar(){
		return 1;
	}
	public int getX() {
		return x;
	}
	public int getA() {
		return a;
	}
	public int getMod() {
		return mod;
	}
	public void setX(int x) {
		this.x = x;
	}
	public void setA(int a) {
		this.a = a;
	}
	public void setMod(int mod) {
		this.mod = mod;
	}
}
